package com.online.websocketcluster.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息实体类
 * @author hsc
 * @create 2018-04-24 16:57
 */
public class Message implements Serializable {
    /**
     * 主键id
     */
    private  int id;

    /**
     * 消息方向（0:顾客发给坐席. 1:坐席发给顾客）
     */
    private  int direction;

    /**
     * 消息类型
     */
    private  int type;

    /**
     * 内容
     */
    private  String content;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 读取状态
     */
    private  int loadStatus;

    /**
     * 企业id
     */
    private  int cId;

    /**
     * 会话id
     */
    private  int sId;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getLoadStatus() {
        return loadStatus;
    }

    public void setLoadStatus(int loadStatus) {
        this.loadStatus = loadStatus;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }
}
